package org.example.myleet.p506;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new String[]{"Gold Medal","Silver Medal","Bronze Medal","4","5"}, solution.findRelativeRanks(new int[]{5,4,3,2,1})));
        Assert.isTrue(Assert.isPass(new String[]{"Gold Medal","5","Bronze Medal","Silver Medal","4"}, solution.findRelativeRanks(new int[]{10,3,8,9,4})));
        Assert.isTrue(Assert.isPass(new String[]{"Gold Medal"}, solution.findRelativeRanks(new int[]{10})));
    }
}
